﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateNews.aspx.cs" Inherits="NewsManagement_UpdateNews" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox"  %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="zt mainCenter">
        <div class="contentBody">
        <div class="title">新闻信息管理-->修改新闻信息</div>
    <table style="width:100%;color:#336699;"  class="ta1">
    <tr>
	<td class="ta2 tag">
		        新闻类别：</td>
	<td class="ta2">
	
	    <asp:DropDownList ID="ddlCategory" runat="server" DataTextField="title" DataValueField="id" Height="26px" Width="354px">
        </asp:DropDownList>
	
	</td></tr>
	<tr>
	<td class="ta2 tag">
		新闻标题
	：</td>
	<td class="ta2">
		<asp:TextBox id="txtNewsTitle" runat="server" Width="358px"></asp:TextBox>
	</td></tr>
	<tr>
	<td class="ta2 tag">
		新闻内容
	：</td>
	<td class="ta2">

        <%--     <FCKeditorV2:FCKeditor ID="edtrText" runat="server">
                        </FCKeditorV2:FCKeditor>--%>
                        <FTB:FreeTextBox id="edtrText" runat="server" Width="800px" Height="400px" SupportFolder="~/FreeTextBox"   JavaScriptLocation="ExternalFile"   ButtonImagesLocation="ExternalFile"   ToolbarImagesLocation="ExternalFile"/>
	</td></tr>

	    <tr>
	<td class="ta2 tag"  >
		图片：</td>
	<td class="ta2">
        <asp:FileUpload ID="fuNewsImage" runat="server"  CssClass="inp1"/>
	</td>
                </tr>
                                <tr>
                    <td class="ta2 tag">
                         作者：
                    </td>
                    <td class="ta2">
                        <asp:TextBox ID="txtAuthor"  runat="server"></asp:TextBox>
                    </td>
                </tr>

	<tr id="trc" runat="server">
	<td class="ta2 tag">
		是否发布 ：</td>
	<td class="ta2">
		<asp:RadioButtonList ID="RadioButtonList1" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Value="1">发布</asp:ListItem>
            <asp:ListItem Value="0">禁用</asp:ListItem>
        </asp:RadioButtonList>
	</td></tr>
	<tr>
	<td height="25" colspan="2"><div align="left">
		<asp:Button ID="btnUpdate" runat="server" Text="提交" OnClick="btnUpdate_Click" class="button"></asp:Button>
		<asp:Button ID="btnreturn" runat="server" Text="返回" class="button" 
            onclick="btnreturn_Click"></asp:Button>
	</div></td></tr>
</table>
</div>
    </div>
    </form>
</body>
</html>
